using System.Collections.Generic;

namespace JSC.Portal.Entities
{
	public partial class Template : DescriptiveEntity
	{
        public void AddPlaceholder(string placeholder)
        {
            if (Placeholders != null && !Placeholders.Contains(placeholder))
            {
                Placeholders.Add(placeholder);
            }
        }

        public void RemovePlaceholder(string placeholder)
        {
            if (Placeholders != null && Placeholders.Contains(placeholder))
            {
                Placeholders.Remove(placeholder);
            }
        }
	}
}
